package com.lemon.smartsafety.entity.common;

import com.lemon.smartsafety.ui.adapter.common.RcvViewType;

/**
 * Created by Cooliean on 16/3/22.
 * 通用的ListView Item显示对象
 */
public class PanelRcvBaseListItem<T> extends RcvBaseIconModel<T> implements PanelRcvBaseDataI<T> {

    RcvViewType.PanelViewType panelViewType;

    public RcvViewType.PanelViewType getPanelViewType() {
        return panelViewType;
    }

    public void setPanelViewType(RcvViewType.PanelViewType panelViewType) {
        this.panelViewType = panelViewType;
    }

    @Override
    public T getTagI() {
        return getTag();
    }

    @Override
    public RcvViewType.PanelViewType iGetViewType() {
        return getPanelViewType();
    }

    @Override
    public int getIconRes() {
        return getIcon();
    }

    @Override
    public String getTitleI() {
        return getTitle();
    }

    @Override
    public String getValueI() {
        return getValue();
    }

    @Override
    public boolean showArrow() {
        return isShowArrow();
    }

    @Override
    public boolean disable() {
        return isDisable();
    }


    @Override
    public int getStatus() {
        return super.getStatus();
    }

    @Override
    public boolean isShowWarning() {
        return super.isShowWarning();
    }
}
